package com.clqteam.serviceimpl;

import com.clqteam.dao.SelectEmployeeDao;
import com.clqteam.daoimpl.SelectEmployeeDaoImpl;
import com.clqteam.service.SelectEmployeeService;

import net.sf.json.JSONObject;

public class SelectEmployeeServiceImpl implements SelectEmployeeService{
      SelectEmployeeDao seDao=new SelectEmployeeDaoImpl();
	@Override
	public JSONObject findEmployeeInfo(String sk, int page, int rows) {
		JSONObject js=new JSONObject();
		js.put("total", seDao.getEmployeeCountByeId(sk));
		js.put("rows", seDao.getEmployeeBysk(sk, page, rows));
		return js;
	}
       

}
